]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Remove keyboard shortcut to open the app menu in the panel
authorJonas Dreßler <verdre@v0yd.nl>
Mon, 23 Jan 2023 16:21:14 +0000 (17:21 +0100)
committerJonas Dreßler <verdre@v0yd.nl>
Wed, 26 Apr 2023 12:32:23 +0000 (14:32 +0200)
Now that the app menu indicator is no longer shown, it shouldn't be possible
to toggle the popup menu via keyboard shortcut anymore, so remove the code
and gsettings definitions for that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2610>

data/50-gnome-shell-system.xml
data/org.gnome.shell.gschema.xml.in
js/ui/panel.js
js/ui/windowManager.js

index 37fd0cd86020f35774cd8c60b28e675746a06a84..1dbb31118a56bc199d6e0d33e0d8f3ff5848a827 100644 (file)
@@ -17,8 +17,5 @@
        <KeyListEntry name="toggle-application-view"
                       description="Show all apps"/>
 
-       <KeyListEntry name="open-application-menu"
-                      description="Open the app menu"/>
-
 </KeyListEntries>
 
index ff4ccd115814d80b36f0c6e826a470c4158b973b..e91a7e3e9238475cb0e77e494793ddd58b89327a 100644 (file)
 
   <schema id="org.gnome.shell.keybindings" path="/org/gnome/shell/keybindings/"
           gettext-domain="@GETTEXT_PACKAGE@">
-    <key name="open-application-menu" type="as">
-      <default>["&lt;Super&gt;F10"]</default>
-      <summary>Keybinding to open the application menu</summary>
-      <description>
-        Keybinding to open the application menu.
-      </description>
-    </key>
     <key name="shift-overview-up" type="as">
       <default>["&lt;Super&gt;&lt;Alt&gt;Up"]</default>
       <summary>Keybinding to shift between overview states</summary>
index 03551c5ec47b92c723447a21abfd652f67a61d42..3bc04f89079dd409b934751aad94de20c626f5c6 100644 (file)
@@ -594,10 +594,6 @@ class Panel extends St.Widget {
         indicator.menu.close();
     }
 
-    toggleAppMenu() {
-        this._toggleMenu(this.statusArea.appMenu);
-    }
-
     toggleCalendar() {
         this._toggleMenu(this.statusArea.dateMenu);
     }
index 2838664e4aea82bf21107ff05908e0ac9624f88e..5a577dfed4765bbcc9e7974dc700ac70760f3764 100644 (file)
@@ -779,13 +779,6 @@ var WindowManager = class {
                                         Shell.ActionMode.OVERVIEW,
                                         this._startSwitcher.bind(this));
 
-        this.addKeybinding('open-application-menu',
-                           new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
-                           Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
-                           Shell.ActionMode.NORMAL |
-                           Shell.ActionMode.POPUP,
-                           this._toggleAppMenu.bind(this));
-
         this.addKeybinding('toggle-message-tray',
                            new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
                            Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
@@ -1710,10 +1703,6 @@ var WindowManager = class {
         }
     }
 
-    _toggleAppMenu() {
-        Main.panel.toggleAppMenu();
-    }
-
     _toggleCalendar() {
         Main.panel.toggleCalendar();
     }